<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>popot-2.01: popot::PSO::particle Namespace Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">popot-2.01
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="namespaces.html"><span>Namespace&#160;List</span></a></li>
      <li><a href="namespacemembers.html"><span>Namespace&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacepopot.html">popot</a>      </li>
      <li class="navelem"><a class="el" href="namespacepopot_1_1PSO.html">PSO</a>      </li>
      <li class="navelem"><a class="el" href="namespacepopot_1_1PSO_1_1particle.html">particle</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">popot::PSO::particle Namespace Reference</div>  </div>
</div>
<div class="contents">
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopot_1_1PSO_1_1particle_1_1Base.html">Base</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopot_1_1PSO_1_1particle_1_1Particle.html">Particle</a></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename PARTICLE &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepopot_1_1PSO_1_1particle.html#a708ed7f18a65a1759caa4d6ec00eb4df">updateBestPosition</a> (PARTICLE &amp;p)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename PARTICLE &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepopot_1_1PSO_1_1particle.html#a32c55900dc8d5fc3e89edf922d2f147d">updatePosition</a> (PARTICLE &amp;p)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename PARTICLE , typename PARAMS &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepopot_1_1PSO_1_1particle.html#a191462f5ac6280a3c1bb6e819fa597ea">updateVelocity_spso2006</a> (PARTICLE &amp;p)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename PARTICLE , typename PARAMS &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepopot_1_1PSO_1_1particle.html#a1ac0e8f839b165660f573ba7e4a7dc4c">updateVelocity_spso2007</a> (PARTICLE &amp;p)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename PARTICLE , typename PARAMS &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepopot_1_1PSO_1_1particle.html#abc673fa39f56d68e6994a68328f2398b">updateVelocity_spso2011</a> (PARTICLE &amp;p)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename PARTICLE &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepopot_1_1PSO_1_1particle.html#aa6b6d0935304d7889d4789cdbacd8599">updatePosition_barebone</a> (PARTICLE &amp;p)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename PARTICLE &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepopot_1_1PSO_1_1particle.html#a08edde97391b5f1a11043f3d30750f4d">updateVelocity_barebone</a> (PARTICLE &amp;p)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename PARTICLE &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepopot_1_1PSO_1_1particle.html#aef2d730ddf9001e22b5108576869c768">updateVelocity_modifiedBarebone</a> (PARTICLE &amp;p)</td></tr>
</table>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a708ed7f18a65a1759caa4d6ec00eb4df"></a><!-- doxytag: member="popot::PSO::particle::updateBestPosition" ref="a708ed7f18a65a1759caa4d6ec00eb4df" args="(PARTICLE &amp;p)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PARTICLE &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void popot::PSO::particle::updateBestPosition </td>
          <td>(</td>
          <td class="paramtype">PARTICLE &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a32c55900dc8d5fc3e89edf922d2f147d"></a><!-- doxytag: member="popot::PSO::particle::updatePosition" ref="a32c55900dc8d5fc3e89edf922d2f147d" args="(PARTICLE &amp;p)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PARTICLE &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void popot::PSO::particle::updatePosition </td>
          <td>(</td>
          <td class="paramtype">PARTICLE &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Basic update of the position of a particle </p>

</div>
</div>
<a class="anchor" id="aa6b6d0935304d7889d4789cdbacd8599"></a><!-- doxytag: member="popot::PSO::particle::updatePosition_barebone" ref="aa6b6d0935304d7889d4789cdbacd8599" args="(PARTICLE &amp;p)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PARTICLE &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void popot::PSO::particle::updatePosition_barebone </td>
          <td>(</td>
          <td class="paramtype">PARTICLE &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Bounds the velocity and position of the particle Updates the velocity of the particle with the barebone particles </p>

</div>
</div>
<a class="anchor" id="a08edde97391b5f1a11043f3d30750f4d"></a><!-- doxytag: member="popot::PSO::particle::updateVelocity_barebone" ref="a08edde97391b5f1a11043f3d30750f4d" args="(PARTICLE &amp;p)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PARTICLE &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void popot::PSO::particle::updateVelocity_barebone </td>
          <td>(</td>
          <td class="paramtype">PARTICLE &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aef2d730ddf9001e22b5108576869c768"></a><!-- doxytag: member="popot::PSO::particle::updateVelocity_modifiedBarebone" ref="aef2d730ddf9001e22b5108576869c768" args="(PARTICLE &amp;p)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PARTICLE &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void popot::PSO::particle::updateVelocity_modifiedBarebone </td>
          <td>(</td>
          <td class="paramtype">PARTICLE &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a191462f5ac6280a3c1bb6e819fa597ea"></a><!-- doxytag: member="popot::PSO::particle::updateVelocity_spso2006" ref="a191462f5ac6280a3c1bb6e819fa597ea" args="(PARTICLE &amp;p)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PARTICLE , typename PARAMS &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void popot::PSO::particle::updateVelocity_spso2006 </td>
          <td>(</td>
          <td class="paramtype">PARTICLE &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Updates the velocity of the particle with the 2006 rule </p>

</div>
</div>
<a class="anchor" id="a1ac0e8f839b165660f573ba7e4a7dc4c"></a><!-- doxytag: member="popot::PSO::particle::updateVelocity_spso2007" ref="a1ac0e8f839b165660f573ba7e4a7dc4c" args="(PARTICLE &amp;p)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PARTICLE , typename PARAMS &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void popot::PSO::particle::updateVelocity_spso2007 </td>
          <td>(</td>
          <td class="paramtype">PARTICLE &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Updates the velocity of the particle with the 2007 rule </p>

</div>
</div>
<a class="anchor" id="abc673fa39f56d68e6994a68328f2398b"></a><!-- doxytag: member="popot::PSO::particle::updateVelocity_spso2011" ref="abc673fa39f56d68e6994a68328f2398b" args="(PARTICLE &amp;p)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PARTICLE , typename PARAMS &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void popot::PSO::particle::updateVelocity_spso2011 </td>
          <td>(</td>
          <td class="paramtype">PARTICLE &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Updates the velocity of the particle with the 2011 rule </p>

</div>
</div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5
</small></address>

</body>
</html>
